﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.PluginKernel;
using Spc;

namespace EasyB2C
{
    public class ArchivePlugin1:IPlugin
    {
        public PluginConnectionResult Connect(IPluginApp _app)
        {

            ArchivePlugin app = _app as ArchivePlugin;
            if (app != null)
            {
                app.OnArchivePageRequest += Request.app_OnArchivePageRequest;
                app.OnArchivePagePost += Request.app_OnArchivePagePost;
            }

            return PluginConnectionResult.Success;
        }



        public string GetMessage()
        {
            return "";
        }

        public bool Install()
        {
            return true;
        }

        public void Pause()
        {

        }

        public void Run()
        {
        }

        public bool Uninstall()
        {
            return false;
        }
    }
}
